import { defineStore } from 'pinia';

export const useItemStore2 = defineStore('item', {
  state: () => ({
    itemIdUrl: '',  // 存储 itemIdUrl
  }),
  actions: {
    setItemIdUrl(id: string) {
      this.itemIdUrl = id;  // 更新 itemIdUrl
    },
  },
});
